package com.kamloo.stg.data.db;


public class Node extends DataObject {
	
	private int fk_directionId;
	private int fk_stopId;
	
	public int getFk_directionId() {
		return fk_directionId;
	}
	public void setFk_directionId(int fk_directionId) {
		this.fk_directionId = fk_directionId;
	}

	public int getFk_stopId() {
		return fk_stopId;
	}
	public void setFk_stopId(int fk_stopId) {
		this.fk_stopId = fk_stopId;
	}

	public Node(int id, int fk_directionId, int fk_stopId)
	{
		super(id);
		this.setFk_directionId(fk_directionId);
		this.setFk_stopId(fk_stopId);
	}
	
	public String toString() {
		return "id:" + id + 
			   "; fk_directionId: " + fk_directionId + 
			   "; fk_stopId: " + fk_stopId;
	}
}